package com.crm.service.orderManager;

import com.crm.model.entity.orderManager.CustomerOrderActivityRelation;

import java.util.List;

/**
 * @author luojie
 * @date 2021/3/25 15:40
 */
public interface CustomerOrderActivityRelationDbService {

    /**
     * 订单活动表插入数据
     * @param customerOrderActivityRelation
     * @return
     */
    Boolean insert(CustomerOrderActivityRelation customerOrderActivityRelation);

    /**
     * 根据订单id和活动id查询订单关联活动下产品List
     * @param orderId 订单id
     * @param activityId 活动id
     * @return
     */
    List<CustomerOrderActivityRelation> selectOrderActivityRelationByOrderIdAndActivityId(String orderId, String activityId);


}
